/*
 * common.c - Common helper functions for boundary checking
 */

#include "bounds_check.h"
#include "bounds_check_internal.h"

/* Internal helper functions */
int is_valid_buffer(const void *ptr, size_t size) {
    return (ptr != NULL && size > 0);
}